<html>
<head>
<title>Вход</title>
<link type="text/css" href="/admin/css/bootstrap.css" rel="stylesheet" />
    <link type="text/css" href="/admin/css/main.css" rel="stylesheet" />
    <script src="/admin/js/jquery-1.6.2.min.js"></script>
    <script src="/admin/js/bootstrap.js"></script>
</head>
<body>
    <form action="<?=$_SERVER['SCRIPT_NAME'] ?>" method="POST" name="form" />
    <table style="width:400px !important; position: absolute; left:35%; top:35%; border: 1px;" border="1" class="table-bordered">
<tr>
    <td colspan="2"><h2>qCMS: Вход</h2></td>
        </tr>        
<?php if($data['validation']) :?><tr>
            <td colspan="2"><?=$data['validation'] ?></td>
        </tr><?php endif; ?>
        <tr>
            <td><b>Имя пользователя:</b> </td>
            <td><input type="text" name="login" class=" <?php echo ($data['validation'])?'error':''; ?>" /></td>
        </tr>
        <tr>
            <td><b>Пароль:  </b></td>
            <td><input type="password" name="password" class=" <?php echo ($data['validation'])?'error':''; ?>" /></td>
        </tr>
        <tr>
            <td colspan="2"><input type="submit" class="btn primary" value="Войти" /></td>
        </tr>
    </table>


</form>
</body>
</html>